package com.ctvit.cch.core.pojo.dto;

import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 热点分类创建 DTO
 *
 * @author heyingcheng
 * @date 2025/07/19
 */
@Getter
@Setter
@ToString
public class HotCategoryAddDTO {

    @NotNull(message = "父级分类不能为空")
    private Integer parentId;

    @NotEmpty(message = "分类名称不能为空")
    private String categoryName;

    private String categoryDesc;

    @NotNull(message = "显示顺序不能为空")
    private Integer orderNum;

    @NotEmpty(message = "分类状态不能为空")
    private String status;

}
